from myConstruct.others.datasetNew import VoxedgeDataset

result = list()
# 自己修改文件的路径
with open('../../test/surfacePoint.txt', 'r') as f:
    for line in f.readlines():
        temp = list()
        for a in line.strip().split(','):
            temp.append(int(a))
        result.append(temp)
# result是[[x,y,z,1],[x1,y1,z1,1],....]的形式，你可以直接读取

f = VoxedgeDataset(result)
print(f.__getitem__(2))